package com.olocat.cjx.nsims.dao

import com.olocat.cjx.nsims.pojo.personnel.Doctor
import org.springframework.data.jpa.repository.JpaRepository

interface DoctorRepository: JpaRepository<Doctor, String>{
    fun getByName(name:String): List<Doctor>
    fun getDoctorByDepartment(department:Int):List<Doctor>
    fun getDoctorByName(name: String):List<Doctor>
}